
package businessEntities;

import javax.swing.tree.DefaultTreeModel;

public class TreeModelWrapper {
    
    DefaultTreeModel treeModel;
    String databaseName;
    String tableName;

    public TreeModelWrapper(DefaultTreeModel treeModel, String databaseName, String tableName) {
        this.treeModel = treeModel;
        this.databaseName = databaseName;
        this.tableName = tableName;
    }
    
    public String getDatabaseName() {
        return databaseName;
    }

    public String getTableName() {
        return tableName;
    }

    public DefaultTreeModel getTreeModel() {
        return treeModel;
    }
    
}
